home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 43.zip / CV Parameter Copier.adf / S / READ.ME < prev    next >
Text File  |  1988-04-17  |  12KB  |  266 lines

  1.  
  2.  
  3.                »»» THE CREATIVE VISION PARAMETER COPIER 1.03 «««
  4.  
  5.                        written in 1988 by Thomas Lopatic
  6.          visual fx and additional help by René Feibicke & Robert Frahm
  7.                  copyright (c) 1988 by Creative Vision Germany
  8.  
  9.      Keep programmers programming and don't spread this disk. This program
  10.       is really worth the money you paid for it. So please be so fair ...
  11.  
  12.  
  13.  
  14.  
  15.                - - -   T A B L E   O F   C O N T E N T S   - - -
  16.  
  17.  
  18.  BASIC KNOWLEDGE
  19.  ---------------
  20.  
  21.        -1.0- .......................................... What is a disk ?
  22.        -2.0- ............................ How Amiga disks are structured
  23.  
  24.  
  25.  THE PARAMETER COPIER
  26.  --------------------
  27.  
  28.        -3.0- ................. The Creative Vision Parameter Copier 1.03
  29.        -3.1- ................. How to edit the parameters for each track
  30.        -3.2- ......................................... Saving parameters
  31.        -3.3- ........................................ Loading parameters
  32.        -3.4- .................................... The directory function
  33.        -3.5- .............................. Exchanging source and target
  34.        -3.6- ........................................ How to copy a disk
  35.        -3.7- ............................ Information about this program
  36.        -3.8- .................................................... Quit !
  37.  
  38.  
  39.  UTILITIES ON THIS DISK
  40.  ----------------------
  41.  
  42.        -4.0- .............................. The speedometer "SpeedCheck"
  43.        -4.1- ................................ The disk-scanner "Examine"
  44.        -4.2- ....................... The Disk-Error-Check "ErrorChecker"
  45.  
  46.  
  47.  P R E F A C E
  48.  -------------
  49.  
  50.    BE WARNED! THE C.V. PARAMETER COPIER IS A VERY POWERFUL BACKUP UTILITY,
  51.    WHICH IS  ABLE TO COPY ALMOST ANY  OF TODAY'S PROTECTIONS.  BACKUPS MAY
  52.    ONLY BE MADE FOR PRIVATE PURPOSES. NEVER SPREAD A COPY OF AN ORIGINAL!!
  53.    THIS IS STRICTLY FORBIDDEN BY THE COPYRIGHT LAW OF YOUR COUNTRY!!  JUST
  54.    MAKE BACKUPS OF YOUR  ORIGINALS TO BE SURE YOU HAVE A COPY IN CASE OF A
  55.    DAMAGE ON YOUR ORIGINAL DISK!!
  56.  
  57.                 THANK YOU,
  58.                              Thomas Lopatic
  59.  
  60.  
  61.  1.0. WHAT IS A DISK ?
  62.  ---------------------
  63.  
  64.    As you certainly know, your Amiga disk is divided up into 80 Cylinders.
  65.    Each of these 80 Cylinders has two  sides. One upper side and one lower
  66.    side. Each side is called  a track. So a disk contains 160 tracks. Each
  67.    of these 160 tracks is divided  up into 11 sectors, each containing 512
  68.    bytes of data.  So you have 1760 sectors (80*2*11). These are the facts
  69.    every "normal"  Amiga user knows.  But this is not enough to understand 
  70.    how to backup  a protected disk ...  Don't worry.  Soon you will know a 
  71.    bit more. Just continue reading!
  72.  
  73.  
  74.  2.0. How Amiga disks are structured
  75.  -----------------------------------
  76.  
  77.    When using  the C.V. Parameter  Copier we talk about Cylinders  (as you
  78.    have just read) and head 0 and head 1, where 0 means the lower and 1 is
  79.    the upper head.  Each side (you can also say track) contains 11 sectors
  80.    (as said before). How are these sectors written onto disk?  First let's 
  81.    examine what one sector looks like. You know that you have 512 bytes of
  82.    data in one block, but due to special difficulties you can't just write
  83.    these 512 bytes of data onto the track. The Amiga encodes your  data in
  84.    a special way,  adds some information (checksums, ...)  called a header 
  85.    to it and writes it onto your track. In the same way the rest of the 11
  86.    sectors is brought onto your disk. But the track is not full yet. It is
  87.    still some room. But this room is not enough for one more sector and so
  88.    it is filled up with $aa bytes (i.e. encoded $00-Bytes).  But now there
  89.    is a  problem. You  have now 11 sectors  on your disk, but nobody knows 
  90.    where a sector starts  or stops (remember that we have just written the
  91.    512 bytes of data 11 times onto your disk).  So the intelligent  people
  92.    said:  "We must find a  special data word (i.e. 2 bytes)  which doesn't 
  93.    exist among the encoded data to mark the beginning of each sector." And
  94.    this combination was found: $4489. This word surely  doesn't exist in a
  95.    data block, after it was encoded in the special way described above. So
  96.    everyone knows where a new sector begins.  He just has to search for  a
  97.    word with the value  $4489. A track  on disk  looks like the  following 
  98.    diagram shows:
  99.  
  100.         $4489/Header1&Sector1/..../$4489/Header11&Sector11/...Gap...
  101.  
  102.    (The "Gap" is the room which is filled up with the $aa-bytes. Look above.)
  103.    The $4489 is called the STANDARD-MFM-SYNC.
  104.  
  105.    When the Amiga wants to read a sector, it reads the full track. Then it
  106.    looks for  SYNCs ($4489).  When it finds a SYNC,  it knows that it just 
  107.    has found the beginning of a sector. Then it looks in the Header (where
  108.    the number of this sector is written down) and  looks whether the found
  109.    sector is the sector Amiga wanted to read. If this is the wanted sector
  110.    Amiga decodes the sector and has the  512 bytes of data which are  con-
  111.    tained in this sector. Otherwise it keeps on searching.
  112.    New copy protections  just don't take $4489 as SYNC, but another value,
  113.    e.g. $a89a.  Also they often consist of only 1 sector on one track. But
  114.    this sector doesn't  contain only 512 bytes but $1800 or more.  Because 
  115.    Amiga doesn't find a $4489 on the track after having read  (the SYNC is
  116.    $a89a) it doesn't find any sector on this track and so can't copy it.
  117.  
  118.  
  119.  3.0. The Creative Vision Parameter Copier 1.03
  120.  ----------------------------------------------
  121.  
  122.    This is a product worth buying! The price is really reasonable.  Please
  123.    be fair and keep us programming. Please read the preface before copying
  124.    anything, otherwise you could do something illegal!
  125.  
  126.  3.1. How to edit the parameters for each track
  127.  ----------------------------------------------
  128.  
  129.    The password is "what you see is what you get".
  130.  
  131.    After you have entered the main  menu of the copier press  "e" to enter
  132.    the parameter editor. With the parameters you can tell  the copy HOW it
  133.    shall copy each track of a disk.
  134.    When  you  have entered  the editor,  the arrow ("-->") can be moved by 
  135.    using  the cursor up/down keys. You can move the arrow to the track you
  136.    want.  The track & head number  are the first  two numbers in one line.
  137.    Generally  you have to copy modes. The selected mode is shown under the
  138.    "FORMAT" line. There is the "ADOS" mode and the "NDOS" mode.  When NDOS
  139.    (=NoDosFormat) is selected, the  "SYNC" value is your SYNC-word  (which
  140.    marks the beginning of a sector) and the "LEN" (=length)  value is your
  141.    length of the sector. E.g. if you  have a copy protection where a track
  142.    only contains one sector of $1800 bytes, marked by a SYNC of $a89a, set
  143.    the SYNC value to $a89a and the "LEN" value to $0c00 ($1800 bytes=$0c00
  144.    ($1800/2) words).  In ADOS  mode,  the "LEN" and "SYNC"  have a totally
  145.    different meaning. You remember the gap we talked about? Great. In ADOS
  146.    mode you are able to modify the gap,  because a nice copy protection is
  147.    to fill up  the gap with  any values and not with $aa.  So in ADOS mode 
  148.    you can  tell the copier how many words it shall copy from the source's
  149.    gap to  the gap of  the target  disk. If you set this value to $7fff, a 
  150.    standard number of words is taken.  If you want to create your own gap,
  151.    set the "SYNC" value to the value of the words you want to  fill into a
  152.    gap. Then take the length of the gap, add $8000 to it (to tell the copy
  153.    to fill the gap, not  to copy it from the source)  and put it into your
  154.    "LEN" field. (If you take $ffff as value ($7fff+$8000) then  a standard
  155.    value will be filled in.)
  156.    The index field can be set to "on" or "off". When the "on"  position is
  157.    selected, the Amiga waits for an Index pulse before copying this track.
  158.    In the speed ("SPD") field you can put either 2ms or 4ms.   This is the
  159.    time for the duration of one bit on the disk. If you have a GCR-Encoded
  160.    disk (like an APPLE(tm) or COMMODORE64(tm) disk) you must set "MSBSYNC"
  161.    to "on". Otherwise turn it off. The precompensation ("TIM") is normally
  162.    turned off ("000").  You can either set  values of 140, 280 or 560ms. I
  163.    still have not seen any copy protection which need this.  So always set
  164.    to 000. The type of precompensation ("PRC") can be GCR (for GCR-Encoded
  165.    disks, look above) or MFM (usually).
  166.    You can edit the parameters for a track by pressing the RETURN key. The
  167.    track the "-->" is pointing to, will be edited. 
  168.    Now enter the SYNC word for this track (4-digit-hex). After that  press
  169.    "y" for index on or "n" for off.  Then enter the length.  Now press "A"
  170.    for ADOS or "N" for "NDOS".  For SPD  press 2 or 4.  MSBSYNC can be "y"
  171.    (on) or "n" (off). PRC is either "M" (MFM) or "G" (GCR). Last enter the
  172.    time for  the precompensation  ("0"=0ms=off, "1"=140ms, "2"=280ms, "5"=
  173.    560ms; usually "0").
  174.    Usually more than one track on a disk have the same parameters. You can
  175.    insert the parameters you entered last by moving the "-->" to the track
  176.    you want and pressing "l" (=last). Your last parameters will be taken.
  177.    If you don't want to copy a certain track, just press "c". The track on
  178.    which your "-->" points, will be marked as "NCPY" (doNotCoPY). Move the
  179.    arrow on this track again and hit "c" again. The NCPY will disappear.
  180.    Note: If you enter a "LEN" value  of 0000 also a NCPY will appear.  You
  181.    can't remove it, because you cannot copy a sector with the length of 0!
  182.            When you enter a $0000 as SYNC, no SYNC will be searched on the
  183.    track. When you select "INDEX on", you can copy many protections.
  184.    You can exit the editor by pressing "ESC".
  185.  
  186.  
  187.  3.2. Saving parameters
  188.  ----------------------
  189.  
  190.    Press "s" in the main menu and enter the filename. If you enter nothing
  191.    you can return to the menu.  The file will be saved in the subdirectory
  192.    "PARAMETERS".
  193.  
  194.  
  195.  3.3. Loading parameters
  196.  -----------------------
  197.  
  198.    Press "l" and enter the filename. The parameter will be loaded.
  199.  
  200.  
  201.  3.4. Directory function
  202.  -----------------------
  203.  
  204.    Press "d" and the saved parameters on this disk will be listed.
  205.  
  206.  
  207.  3.5. Exchange source and target
  208.  -------------------------------
  209.  
  210.    The source and the target drive are exchanged.  So you can copy either
  211.    from df0: to df1: or from df1: to df0:.
  212.  
  213.  
  214.  3.6. Copy a disk
  215.  ----------------
  216.  
  217.    Press "c", then remove your parameter copier. Insert your source disk 
  218.    in the source drive and the target disk in the target drive. Then hit
  219.    Return to continue or ESC to return to the main menu of the parameter
  220.    copier. After the copy is done,  replace the parameter copier in your
  221.    drive and hit Return.If a track can't be read with the selected para-
  222.    meters, you will be told "Bad parameters."  Now press "y" to continue
  223.    or "n" to abort the copy.  (Due to this,  to copy certain protections
  224.    (e. g. the Kingsoft(tm) protection), first  make a copy with a simple
  225.    ordinary backup program (e. g. diskcopy), then copy this backup again
  226.    with the C.V. Parameter Copier 1.03 and it will work!).
  227.  
  228.  
  229.  3.7. Information
  230.  ----------------
  231.  
  232.    Press "i" and the info window will be shown.
  233.  
  234.  
  235.  3.8. Quit
  236.  ---------
  237.  
  238.    Use this to exit the Creative Vision Parameter Copier 1.03.
  239.  
  240.  
  241.  4.0. The Speedometer
  242.  --------------------
  243.  
  244.    Call this utility from the CLI with "SpeedCheck dfx:", where x is your
  245.    drive to check. Insert a disk which can be destroyed in dfx: and press
  246.    the <RETURN> key to start.  This utility shows you how many words your
  247.    drive can write to a track.  Make sure that the disk you have inserted
  248.    is NOT WRITE PROTECTED.
  249.  
  250.  
  251.  4.1. The Disk Scanner
  252.  ---------------------
  253.  
  254.    It is called with "Examine", Insert now the write protected (original)
  255.    disk you want to scan in DF0:. The program shows you any possible SYNC
  256.    for each track.  If you want the SYNC list to be sent to a file, enter
  257.    "Examine >FILENAME". Then it's sent to the file name "FILENAME".
  258.  
  259.  4.2. The ErrorChecker
  260.  ---------------------
  261.  
  262.    Call it with "ErrorChecker". Then insert a disk to be checked in drive
  263.    0. You will be shown any errors on this disk.
  264.  
  265.  
  266.